#pragma once
#include "HighScore.h"

class FifteenPuzzle
{
private:
	int board[4][4];
	int moves;
	int freeX, freeY;
	static HighScore scores;

	void drawBoard();
	void findFree();
	bool gameDone();
	void randomizeBoard();
	void moveTiles(int &a, int &b);

public:
	FifteenPuzzle();
	~FifteenPuzzle();
	
	void runGame();
};

